<html><head><title>SaveDebugOutput</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">SaveDebugOutput()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#3A3966"><b>SaveDebugOutput</b></font>(Filename$)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Save the content of the debug output window to the given file. There is no error if the file 
cannot be saved. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Filename$</i></td>
<td width="90%"> 
The filename to save the output to. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">For</font></b> i = 1 <b><font color="#3A3966">To</font></b> 100
    <b><font color="#3A3966">Debug</font></b> <font color="#3A3966">Random</font>(i)
  <b><font color="#3A3966">Next</font></b> i
<font color="#3A3966">  SaveDebugOutput</font>(&quot;C:\log.txt&quot;)
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="../reference/ide_debugtools.html">Included debugging tools</a>, 
<a href="../reference/debugger.html">Debug</a>, 
<a href="showdebugoutput.html">ShowDebugOutput()</a>, 
<a href="cleardebugoutput.html">ClearDebugOutput()</a>, <a href="copydebugoutput.html">CopyDebugOutput()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=resetprofiler.html>ResetProfiler()</a> - <a href="index.html">Debugger Index</a> - <a href="showassemblyviewer.html">ShowAssemblyViewer()</a> -><br><br>

</body></html>